<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">

<title>修改个人信息页面</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
</head>

<body>
	<form action="updateUsersvl", method="post">

		<div class="mail-grid1">
			<div align="center">
				<!--class="body"-->
				<h3>修改个人信息</h3>
				<p>请依次填写</p>
				<%
							/*
							ArrayList list = new ArrayList();
							list = (ArrayList)session.getAttribute("userInfo");					
							userInfo uif = new userInfo();
							uif =(userInfo)list.get(0);
							*/
							%>
				<c:forEach items="${user }" var="aa">
							姓名：<input name="nm" type="text" value="${aa.username}"
						placeholder="请输入用户名" required=" ">
					</br>
					</br>								
							昵称：<input name="nicknm" type="text" value="${aa.nickname}"
						placeholder="请输入昵称" required=" ">
					</br>
					</br>								
							密码：<input name="psw" type="password" value="${aa.password}"
						placeholder="请输入密码" required=" ">
					</br>
					</br>	
							确认密码：<input name="psw1" type="password" value="${aa.password}"
						placeholder="请确认密码" required=" ">
					</br>
					</br>							
							
							头像：<img alt="" src="${aa.img}">
					</br>
					</br>
					<input type="submit" value="提交">

				</c:forEach>
				<!--
                <form action="indexsvl" method="post">
					<input type="button" value="返回"/>
				</form>
				-->
				<li><a href='indexsvl'><i class="text-justify"></i>返回</a></li>
				
				<!--
					<a  type="button"href="index.jsp" value="返回">
                -->
			</div>
		</div>

		</div>
		<!-- //mail -->


	</form>

</body>
</html>